package com.vhall.component.service.redpacket.service;


import com.vhall.component.entity.rebroadcast.RedPacketSettingEntity;
import com.vhall.component.entity.redpacket.vo.RedPacketSettingVO;

import java.util.List;

/**
 * @author xuyongzheng
 * @since 2021/2/25 10:33
 **/
public interface RedPacketSettingService {


    /**
     * 获取配置, 带缓存
     *
     * @param appId app id
     * @return setting
     */
    RedPacketSettingEntity getRowByAppId(String appId);

    /**
     * 红包服务应用信息设置接口
     *
     * @param
     * @return
     */
    RedPacketSettingEntity setting(RedPacketSettingVO reqVO);

    /**
     * 查找表的全部数据
     *
     * @param
     * @return
     */
    List<RedPacketSettingEntity> listAll();
}
